Skip to content

Conversation

@CraigMacomber
Copy link
Contributor

Description

pnpm dedupe in all packages.

This can almost be done with:

pnpm exec flub exec "pnpm dedupe --ignore-scripts" --releaseGroupRoot=all --packages

The "server" release group had several issues (see #25559) so it has been reverted to be handled seperatly.

Also updates @octokit/core and @octokit/rest to the latest versions to fix a compile error that happened after dedupe.

Reviewer Guidance

The review process is outlined on this wiki page.

Copilot AI review requested due to automatic review settings September 26, 2025 17:57
@github-actions github-actions bot added area: build Build related issues area: server Server related issues (routerlicious) dependencies Pull requests that update a dependency file base: main PRs targeted against main branch labels Sep 26, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR performs dependency deduplication across packages using pnpm dedupe and updates Octokit dependencies to fix compilation errors that occurred after the deduplication process.

  • Runs pnpm dedupe across all packages except the "server" release group (handled separately due to issues)
  • Updates @octokit/core from ^5.2.0 to ^7.0.4 and @octokit/rest from ^21.0.2 to ^22.0.0 to resolve compile errors
  • Adds a new patch file for @microsoft/[email protected] to address validation and import emission issues

Reviewed Changes

Copilot reviewed 2 out of 12 changed files in this pull request and generated 1 comment.

File Description
server/routerlicious/patches/@[email protected] New patch file fixing API extractor validation and import emission logic
build-tools/packages/build-cli/package.json Updates Octokit dependencies to latest major versions
Files not reviewed (10)
  • build-tools/pnpm-lock.yaml: Language not supported
  • common/build/eslint-config-fluid/pnpm-lock.yaml: Language not supported
  • common/lib/common-utils/pnpm-lock.yaml: Language not supported
  • common/lib/protocol-definitions/pnpm-lock.yaml: Language not supported
  • pnpm-lock.yaml: Language not supported
  • server/gitrest/pnpm-lock.yaml: Language not supported
  • server/historian/pnpm-lock.yaml: Language not supported
  • tools/benchmark/pnpm-lock.yaml: Language not supported
  • tools/getkeys/pnpm-lock.yaml: Language not supported
  • tools/test-tools/pnpm-lock.yaml: Language not supported

Comment on lines +94 to +95
"@octokit/core": "^7.0.4",
"@octokit/rest": "^22.0.0",
Copy link

Copilot AI Sep 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Major version updates for @octokit/core (5→7) and @octokit/rest (21→22) may introduce breaking changes. Consider reviewing the changelog and ensuring compatibility with existing usage patterns in the codebase.

Suggested change
"@octokit/core": "^7.0.4",
"@octokit/rest": "^22.0.0",
"@octokit/core": "^5.0.0",
"@octokit/rest": "^21.0.0",

Copilot uses AI. Check for mistakes.
@CraigMacomber CraigMacomber merged commit 827783e into microsoft:main Sep 26, 2025
55 checks passed
@CraigMacomber CraigMacomber deleted the dedupe-less branch September 26, 2025 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build Build related issues area: server Server related issues (routerlicious) base: main PRs targeted against main branch dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants